---
title: "Agent Infra AWS"
sidebarTitle: Introduction
---

The Agent Infra AWS template provides a simple AWS infrastructure for running AgentOS. It contains:

- An AgentOS instance, serving Agents, Teams, Workflows and utilities using FastAPI.
- A PostgreSQL database for storing sessions, memories and knowledge.

You can run your Agent Infra AWS locally as well as on AWS. This guide goes over the local setup first.

<Snippet file="setup.mdx" />

<Snippet file="create-agent-infra-aws-codebase.mdx" />

## Next

Congratulations on running your Agent Infra AWS. Next Steps:
